package com.woniuxy01;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-05-23 9:31
 */
public class Test05 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入数字1-7，转换成对应的星期");
        int num = sc.nextInt();
        switch (num) {
            case 1:
                System.out.println("111");
                break;
            case 2:
                System.out.println("222");
                break;
            case 3:
                System.out.println("333");
                break;
            case 4:
                System.out.println("444");
                break;
            case 5:
                System.out.println("555");
                break;
            case 6:
                System.out.println("666");
                break;
            case 7:
                System.out.println("777");
                break;
            default:
                System.out.println("error");
                break;
        }
        System.out.println("程序结束");

    }
}
